package com.lej.dataservice.club.bean.login

data class LoginRes(
    val jsonWebToken: String?,
    val isRegister: Int,
    val accid: String?,
    val yxToken: String?,
    val token: String?,
    val cate: Int?,
    val login_token:String?,
    val id:Int?,
    val phone:String?,
    val avatar:String?,
    val nick:String?,
    val house_num:Int?
) {
    /**是否已经注册 true:已经注册  false:未注册*/
    fun isRegister() = isRegister != 0
    fun isNotBindNick() = nick.isNullOrEmpty()
}
